package com.linkoog.devtools.code_generator.database.sqlparser;

public enum ParseState {
    SUCCESS(null),
    SQL_BLANK("sql语句为空"),
    PARSE_FAIL("解析失败"),
    NOT_CREATE_TABLE_DDL("输入不是建表ddl语句"),

    ;

    private ParseState(String error){
        this.error = error;
    }

    private String error;

    public String getError() {
        return error;
    }
}
